package com.ziyun.pop.common.e.promotion;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * @author jiangli
 * @date 2018-09-17 10:48
 * 活动范围类型
 * 'sku','brand','category','group','all'
 */
public enum  ScopeTypeEnum implements BaseEnum {
    SKU("sku","单品"),
    BRAND("brand","品牌"),
    CATEGORY("category","品类"),
    GROUP("group","组合"),
    ALL("all","全场");

    private String code;
    private String describe;

    ScopeTypeEnum(String code, String describe) {
        this.code = code;
        this.describe = describe;
    }
    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
